Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated support for brew shop and resin room #2

Open
wants to merge 2 commits into
base: database_version
Choose a base branch
from

Conversation

avianathema
Copy link
Member

Resin Room added to csv and config
Brew Shop added to config

Resin Room added to csv and config
Brew Shop added to config
@avianathema avianathema requested a review from Zambito1 May 5, 2024 03:04
Copy link
Collaborator

@derrell derrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the individual file/line comments, the title of this PR is "Add Rooms" but the code changes are far more significant than that. Were many files added to this PR unintentionally, or is it misnamed?

Untitled-1.ipynb Outdated
@@ -0,0 +1,164 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a file called "Untitled"? Was this added accidentally, or does it simply need a more appropriate name?

newSync.py Outdated
# output_string += f"Contracts: {self.nexudus_contracts}"
# output_string += f"Contracts: {self.nexudus_contracts}"
# output_string += f"Contracts: {self.nexudus_contracts}"
# output_string += f"Contracts: {self.nexudus_contracts}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 identical commented lines. Suggest deleting all, or all but one of them.

newSync.py Outdated
logging.debug("Starting Main Loop")

now = datetime.datetime.now(datetime.timezone.utc)
next_run = now - datetime.timedelta(minutes=update_frequency)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be now + timedelta rather than minus? It looks like next_run will be less than now, creating an infinite loop at line 428 below...

nexudus_polling.py Outdated Show resolved Hide resolved
@Zambito1
Copy link
Member

Zambito1 commented May 5, 2024

Hey sorry, I walked @avianathema through this and I forgot we branched off @benihana77 s branch, so this PR includes those changes. I'll see if I can change the target branch, that should isolate the PR to the changes Avi actually made.

@Zambito1 Zambito1 changed the base branch from main to database_version May 5, 2024 23:43
team_group_map.csv Outdated Show resolved Hide resolved
@derrell
Copy link
Collaborator

derrell commented May 6, 2024

Thanks.

@avianathema avianathema changed the title Add Rooms updated support for brew shop and resin room May 6, 2024
added trailing empty line per derrell's change request.
@Zambito1 Zambito1 requested a review from benihana77 May 6, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants